<?php
function contenido()
{
	global $location;
	
	include 'conexion.php';

	$sql = "
	SELECT ubicacion
	FROM [dbo].[modulo]
 	WHERE [id]='$location'";
		$r_mod = sqlsrv_query($link,$sql) or die('Consulta fallida: ');
		$ren_mod = sqlsrv_fetch_array($r_mod);
		return $ren_mod[0];
}

?>